/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.ispviolation;

/**
 *
 * @author yandiswa
 */
public class Employee {
    String empName;
    public void setEmpName(PersonInter emp)
    {
        empName = emp.getLabUser();
        // this class is aware of other members/attributes of the PersonImpl class
        // Example: empName,. Violates ISP
    }

    public String getEmpName()
    {
        return "name " +empName+ ". . .";
    }
}
